package com.server.service;

import com.server.model.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
@Slf4j
public class UserService {


    public User selectUser(){
        log.info("hhahah");
        User user = new User();
        user.setName("鳌拜");
        user.setAge(666);
        System.out.println(user);
        System.out.println(11);

        System.out.println(new Date());

        return user;

    }


    public void test1(){
        System.out.println("修改了问题");
    }


}
